/**
 * 前锋队员类
 * @author liaosh
 * @date 2022-10-18 23:24
 */
public class Forwards extends BasketBallPlay {

    public Forwards(String name) {
        this.name = name;
    }

    @Override
    void attack() {
        System.out.println("前锋球员：" + name + "，开始进攻");
    }

    @Override
    void detack() {
        System.out.println("前锋球员：" + name + "，开始防守");
    }
}
